﻿using Windows.Foundation;
using Windows.Storage.Streams;

namespace Coding4Fun.Maelstrom.Communication
{
	public enum PacketType
	{
		UserInputPacket = 0,
		GameStatePacket
	}

	public interface IGamePacket
	{
		PacketType Type { get; }

		IAsyncAction FromDataReaderAsync(DataReader reader);
		void WritePacket(DataWriter writer);
	}
}
